package com.yxb.my_requests.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.yxb.common.annotation.Excel;
import com.yxb.common.core.domain.BaseEntity;

/**
 * 我的发布对象 my_requests
 * 
 * @author 林德炫
 * @date 2025-04-01
 */
public class MyRequests extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 序号 */
    @Excel(name = "序号")
    private Long requestId;

    /** 家长姓名 */
    @Excel(name = "家长姓名")
    private String parentName;

    /** 家长手机 */
    @Excel(name = "家长手机")
    private String parentPhoneNumber;

    /** 发布内容 */
    @Excel(name = "发布内容")
    private String requestContent;

    /** 发布时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "发布时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date requestPostedTime;

    /** 状态 */
    @Excel(name = "状态")
    private String requestStatus;

    /** 接单人 */
    @Excel(name = "接单人")
    private String teacherName;

    /** 接单人电话 */
    @Excel(name = "接单人电话")
    private String teacherPhoneNumber;

    /** 接单时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "接单时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date requestAcceptedTime;

    public void setRequestId(Long requestId) 
    {
        this.requestId = requestId;
    }

    public Long getRequestId() 
    {
        return requestId;
    }
    public void setParentName(String parentName) 
    {
        this.parentName = parentName;
    }

    public String getParentName() 
    {
        return parentName;
    }
    public void setParentPhoneNumber(String parentPhoneNumber) 
    {
        this.parentPhoneNumber = parentPhoneNumber;
    }

    public String getParentPhoneNumber() 
    {
        return parentPhoneNumber;
    }
    public void setRequestContent(String requestContent) 
    {
        this.requestContent = requestContent;
    }

    public String getRequestContent() 
    {
        return requestContent;
    }
    public void setRequestPostedTime(Date requestPostedTime) 
    {
        this.requestPostedTime = requestPostedTime;
    }

    public Date getRequestPostedTime() 
    {
        return requestPostedTime;
    }
    public void setRequestStatus(String requestStatus) 
    {
        this.requestStatus = requestStatus;
    }

    public String getRequestStatus() 
    {
        return requestStatus;
    }
    public void setTeacherName(String teacherName) 
    {
        this.teacherName = teacherName;
    }

    public String getTeacherName() 
    {
        return teacherName;
    }
    public void setTeacherPhoneNumber(String teacherPhoneNumber) 
    {
        this.teacherPhoneNumber = teacherPhoneNumber;
    }

    public String getTeacherPhoneNumber() 
    {
        return teacherPhoneNumber;
    }
    public void setRequestAcceptedTime(Date requestAcceptedTime) 
    {
        this.requestAcceptedTime = requestAcceptedTime;
    }

    public Date getRequestAcceptedTime() 
    {
        return requestAcceptedTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("requestId", getRequestId())
            .append("parentName", getParentName())
            .append("parentPhoneNumber", getParentPhoneNumber())
            .append("requestContent", getRequestContent())
            .append("requestPostedTime", getRequestPostedTime())
            .append("requestStatus", getRequestStatus())
            .append("teacherName", getTeacherName())
            .append("teacherPhoneNumber", getTeacherPhoneNumber())
            .append("requestAcceptedTime", getRequestAcceptedTime())
            .toString();
    }
}
